package syllabus.service;

import java.util.List;
import syllabus.model.Criteria;
import syllabus.model.PFile;

public interface PFileService {
    int countByExample(Criteria example);

    PFile selectByPrimaryKey(Integer id);

    List<PFile> selectByExample(Criteria example);

    int deleteByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PFile record);

    int updateByPrimaryKey(PFile record);

    int deleteByExample(Criteria example);

    int updateByExampleSelective(PFile record, Criteria example);

    int updateByExample(PFile record, Criteria example);

    int insert(PFile record);

    int insertSelective(PFile record);
    
    List<PFile> getAttachAndSyllabusName(Criteria c);

    int countBySyllabus(Criteria example);
}